#include <iostream>
#include <math.h>
using namespace std;

int main()
{
    string palabra;
    char l;
    int i;
    i=0;
    cout<<"Ingresar palabra"<<endl;
    cin>>palabra;
    cout<<"Ingresar letra"<<endl;
    cin>>l;
    while(palabra[i]!=l)
    {
        i=i+1;
    }cout<<i+1<<endl;






return 1;


}
